<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
        font-family:'宋体';
        font-size: 80px;
        color:#ff0000;
        font-weight:bolder;/*设置字体粗细*/
        font-style:italic;/*设置斜体*/
    }
    h1{
        text-align:left;
        text-decoration: overline;
    }
    h2{
        text-align:center;
        text-decoration:line-through;
    }
    h3{
        text-align:right;
    }
    p{
        /* text-indent: 20px; */
        text-indent:2em;/*首行缩进2个字符*/
        text-decoration: underline;
        line-height: 30px;/*设置行高*/
    }
    a{
        text-decoration:none;/*去掉超链接的下划线*/
    }
    </style>
</head>
<body>
    <div>这是宋体</div>
    <h1>靠左</h1>
    <h2>居中</h2>
    <h3>靠右</h3>
    <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit nostrum natus nobis temporibus ea quod voluptatibus iste architecto! Doloribus placeat delectus officia! Consequuntur nemo, similique quos facilis labore nobis voluptas?Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit nostrum natus nobis temporibus ea quod voluptatibus iste architecto! Doloribus placeat delectus officia! Consequuntur nemo, similique quos facilis labore nobis voluptas?</p>
    <a href="#">不跳转</a>



</body>
</html>